package com.bite.principle.config;

import com.bite.principle.model.Dog;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
public class DogConfig {
    @Bean
    public Dog dog() {
        return new Dog("小黃",1);
    }
}
